const path = require('path')

function resolve(dir) {
  return path.join(__dirname, dir);
}
module.exports = {
  // devServer: {
  //   port: 80,
  //   host: 'mp.huoshansxy.com'
  // },
  publicPath: "./",
  assetsDir: "static",
  outputDir: 'dist',
  
  chainWebpack: config => {
    config.resolve.alias
      .set("@", resolve("src"))
  },
}